package cn.lll.vuehouse.service;

import cn.lll.vuehouse.DTO.FileDTO;
import cn.lll.vuehouse.common.ResponseResult;
import cn.lll.vuehouse.entity.Allfile;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
* @author asus-pc
* @description 针对表【allfile】的数据库操作Service
* @createDate 2023-09-03 11:01:52
*/
public interface AllfileService extends IService<Allfile> {

    ResponseResult getPage(FileDTO fileDTO);

    ResponseResult upload(MultipartFile file);

    void down(String fileName, HttpServletResponse response);
}
